package com.charge.dao;

import com.charge.domain.Account;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Description :
 * Author : 91658
 * Date : 2018/6/7 14:02
 **/
@Component
public interface AccountMapping {

    int insertSelective(Account record);

    Account selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Account record);

    List<Account> selectAll(Account account);

    Account selectAccountByName(@Param("accountName") String accountName);

}
